	test=function(domaineRandom){

		
	var option = {
			duration : 3,
			speed : 35,
			startCallback : function() {
				console.log('start');
			
				$('#displayDomaine').attr("style", "visibility: hidden");
			
			},
			slowDownCallback : function() {
				console.log('slowDown');
			},
			stopCallback : function($stopElm) {
				console.log('stop');
				$('#displayDomaine').removeAttr("style", "visibility: hidden");
				$('#displayDomaine').addClass("displayDomaine");
				
				var timerQuestion = setInterval(function(){TransitionQuestion()},2000)
				
				function TransitionQuestion(){
					
					var idPartie=$('#idPartie').val();
				var idDomaine=$('#idDomaine').val();
				$.ajax({
					type:"POST",
					url: "/trivia/CQuestion/index",
					data:"idpartie="+idPartie+"&iddomaine="+idDomaine
              	}).done(function(data) {
              		$(".bloc_page").html(data);
              	});
				clearInterval(timerQuestion)
					
				}
				
				
			}
		}
		


	
	
	rouletter=$('div.roulette');
		$('div.roulette').roulette(option);
		rouletter.roulette('start');
		
	};



